﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Universe.Cache
{
    public interface ICacheStorage
    {
        bool Get(string key, byte[] stamp, out byte[] result);
        void Put(string key, byte[] stamp, DateTime expired, byte[] value);
        void FlushExpiration();
        void Clean(int maxMegabytes);
    }
}
